﻿@{
    ViewBag.Title = "组合购购买记录";
}
<script src="~/Scripts/jquery.hiMallDatagrid.js"></script>
<script type="text/javascript">

    $(function () {
        $("#list").hiMallDatagrid({
            url: "./List",
            singleSelect: true,
            pagination: false,
            NoDataMsg: '没有找到符合条件的数据',
            idField: "Id",
            pageSize: 15,
            pageNumber: 1,
            queryParams: {},
            columns:
            [[

                { field: "Id", title: "Id", hidden: true },
                { field: "ShopName", title: "店铺名称", width: 400, },
                { field: "StartDate", title: "开始时间", width: 400 },
                { field: "EndDate", title: "结束时间", width: 120 }
            ]]
        });
        $('#searchButton').click(function (e) {
            searchClose(e);
            var shopName = $.trim($('#txtShopName').val());
            $("#list").hiMallDatagrid('reload',
                {
                    shopName: shopName,
                });
        });

    });

</script>

<div class="container">
    <ul class="nav nav-tabs-custom clearfix">
        <strong>组合购</strong>
        <li class="active"><a href="./Management">服务购买列表</a></li>
        <li><a href="./ServiceSetting">服务费用设置</a></li>
        <em class="primary-btn">
            <span class="glyphicon glyphicon-question-sign"></span>
            <div class="primary">
                <h3>温馨提示：</h3>
                <span>1、</span><p>已购买组合购服务的商家</p>
            </div>
        </em>
    </ul>

    <div class="search-box only-line" id="search-box">
        <form class="custom-inline" role="form">

            <div class="form-group">
                <label class="label-inline" for="">店铺名称</label>
                <input class="form-control input-ssm" type="text" id="txtShopName">
            </div>
            <div class="form-group"><button type="button" class="btn btn-primary btn-sm" id="searchButton">搜 索</button></div>
        </form>
    </div>

    <table id="list" class="table"></table>
</div>



